package com.example.summer_pro.service;

import com.example.summer_pro.entity.Content;
import com.example.summer_pro.entity.ContentJSON;

import java.util.List;

public interface ContentService {
    public Content selectContent(int u_id, int q_id, int t_id);
    public List<Content> selectResult(int q_id, int t_id);
    public void addNewContent(Content content);
    public void updateContent(Content content);
    public void deleteContent(Content content);
    public void deleteAllContent(Integer q_id,Integer u_id);
    public void addJson(Integer q_id,Integer u_id,String json);
    public void deleteJson(Integer q_id,Integer u_id);
    public ContentJSON selectJson(Integer q_id,Integer u_id);
}
